package com.ruoyi.common.core.domain.entity;

import java.sql.Timestamp;

/**
 * @Auther: Stanley.Y
 * @Date: 2024/7/16
 * @Description: 干扰源监测区域数据实体表
 * @Version 1.0.0
 */
public class TArea {
    private int id; // 主键ID

    private String name; // 区域名称

    private double lon1; // 经度1

    private double lat1; // 纬度1

    private double lon2; // 经度2

    private double lat2; // 纬度2

    private double clon; // 中心点经度

    private double clat; // 中心点纬度

    private Timestamp createTime; // 创建时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getLon1() {
        return lon1;
    }

    public void setLon1(double lon1) {
        this.lon1 = lon1;
    }

    public double getLat1() {
        return lat1;
    }

    public void setLat1(double lat1) {
        this.lat1 = lat1;
    }

    public double getLon2() {
        return lon2;
    }

    public void setLon2(double lon2) {
        this.lon2 = lon2;
    }

    public double getLat2() {
        return lat2;
    }

    public void setLat2(double lat2) {
        this.lat2 = lat2;
    }

    public double getClon() {
        return clon;
    }

    public void setClon(double clon) {
        this.clon = clon;
    }

    public double getClat() {
        return clat;
    }

    public void setClat(double clat) {
        this.clat = clat;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TArea =: {" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", lon1=" + lon1 +
                ", lat1=" + lat1 +
                ", lon2=" + lon2 +
                ", lat2=" + lat2 +
                ", clon=" + clon +
                ", clat=" + clat +
                ", createTime=" + createTime +
                '}';
    }
}
